<template>
  <el-card class="ik-chart-card">
    <div slot="header" class="clearfix">
      <span class="ik-chart-card-title">{{ title }}</span>
      <p class="table_title_img" />
      <span class="logo" />
    </div>
    <img :src="src" :style="yang">
  </el-card>
</template>

<script>
export default {
  name: "Tu",
  props: {
    title: {
      type: String,
      default: "标题"
    },
    src: {
      type: String,
      default: require("@/views/board/img/1.jpg")
    },
    yang: {
      type: Object,
      default: () => {
        return { width: "100%", height: "100%" }
      }
    }
  },
  data() {
    return {
      val: ""
    }
  }
}
</script>

<style lang="scss" scoped>
.ik-chart-card {
  width: 100%;
  height: 100%;
  img {
    width: 100%;
    height: 100%;
  }
}
</style>
